One would think that if you have plenty of free disk space, you should be able to install an application, and then use it, but that would be to easy. Rather, its not really a problem of disk space, but running out of temporary space during install.
This error occurred while installing a large application No space left on device.
Part of the problem is /tmp fills up. After an install attempt fails, the failed content is left in /tmp and RAM, leaving the system crippled till reboot. Disk file system usage can be seen with the command:
df
The other problem, at least in my case, was that there was no swap partition, this occurred when installing Manjaro as the second OS in a dual boot setup. A swap partition can be setup manually during install or after. swap and memory sizes can be seen with the command:
free
mount -o remount,size=8G,noatime /tmp
A swap partition or swap file can be added post install easily enough.
fallocate -l 4G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
sudo nano /etc/fstab
/swapfile none swap defaults 0 0
No more “No space left on device” issue